           package com.java.diagnostics.visualizer.gc.defaultextensions;
           
           //import java.util.prefs.Preferences;

         import com.java.diagnostics.visualizer.gc.recommender.RecommendationPreferenceHelper;
           import com.java.diagnostics.visualizer.impl.preferences.GCAndMemoryVisualizerPreferenceInitializer;
           import com.java.diagnostics.visualizer.parser.vgc.VGCParserPreferenceHelper;
           import org.osgi.service.prefs.Preferences;;
           
           public class DefaultExtensionsPreferenceInitializer extends GCAndMemoryVisualizerPreferenceInitializer
           {
             private static GCAndMemoryVisualizerPreferenceInitializer instance = null;
             private static final String NODE_NAME = "com.java.diagnostics.visualizer.gc.defaultextensions";
           
             public void initializeDefaultPreferences()
             {
               Preferences prefs = getDefaultPreferences();
               VGCParserPreferenceHelper.initializeDefaults(prefs);
               RecommendationPreferenceHelper.initializeDefaults(prefs);
             }
           
             public static GCAndMemoryVisualizerPreferenceInitializer getInstance() {
               if (instance == null) {
                 instance = new DefaultExtensionsPreferenceInitializer();
               }
               return instance;
             }
           
             protected String getNodeName() {
               return "com.java.diagnostics.visualizer.gc.defaultextensions";
             }
           }

